package com.itheima.sh.Homework01;

public class StudentOPen {
    private Student s;
         public  void service(Student s){
             this.s=s;
         }
         public void say(){
             System.out.println("姓名:"+s.getName()+",性别:"+s.getGender()+",年龄是："+s.getAge()+",id是："+s.getId()+",分数是："+s.getScore());
         }
}
